<?php
	$tplContact = new XTemplate('view/website/contact.htm');
	$_SESSION['category_name'] = 'Liên hệ';
	$sql = "SELECT * FROM tblwebinfo WHERE type='contact'";
	$contactresult = $db->fetchOne($sql);
	$tplContact->assign('content', $contactresult['content']);
	$tplContact->parse('contact');
	$content = $tplContact->text('contact');